package com.jialea.luobochat.server.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: wf
 * @created: 2024/8/24 23:19
 */

@Data
@Component
@ConfigurationProperties(prefix = "knife4j")
public class Knife4jProperties {
    /**
     * 是否开启knife4j
     */
    private Boolean enable;
    /**
     * 访问地址
     */
    private String address;
    /**
     * 扫描路径
     */
    private String basePackage;
    /**
     * 作者
     */
    private String author;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 标题
     */
    private String title;
    /**
     * 描述
     */
    private String description;
    /**
     * 版本号
     */
    private String version;
}
